<extend name="Public/base"/>
<block name="body">
    <div class="main-title">
        <h2>{$_title}</h2>
    </div>
    <div  class="form-horizontal">
        <div class="form-item">
            <label class="item-label">基金名称：<span class="check-tips">{$fund.fund_name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金代码：<span class="check-tips">{$fund.fund_code|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金简称：<span class="check-tips">{$fund.fund_abb|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金名称：<span class="check-tips">{$fund.fund_name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">上市地点：<span class="check-tips">{$fund.section_code_text|default=''}</span></label>
        </div>
        
        <if condition="$fund['section_code'] neq 1">
        	<div class="form-item">
            	<label class="item-label">上市时间：<span class="check-tips">{:date('Y-m-d', $fund['list_time'])}</span></label>
        	</div>
        </if>
        
        <div class="form-item">
            <label class="item-label">基金类型：<span class="check-tips">{$fund.fund_type_text|default=''}</span></label>
        </div>
        
        <div class="form-item">
            <label class="item-label">合　　同：<span class="check-tips">{$fund.contract_name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">排　　序：<span class="check-tips">{$fund.sort_order|default='0'}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金经理：<span class="check-tips">{$fund.trader_name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金分类：
            <span class="check-tips">
            	<foreach name="cats" key="key" item="val">
            		{$val.cat_name}　
            	</foreach>
            </span></label>
        </div>
        <div class="form-item">
            <label class="item-label">成立时间：<span class="check-tips">{:date('Y-m-d', $fund['estb_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金托管人：<span class="check-tips">{$fund.fund_trusteeship|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">托管费率：<span class="check-tips">{$fund.trusteeship_rate|default='0'}%</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金管理人：<span class="check-tips">{$fund.fund_admin|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">管理费率：<span class="check-tips">{$fund.admin_rate|default='0'}%</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">开始购买日期：<span class="check-tips">{$fund.total_count|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">开始购买日期：<span class="check-tips">{$fund.trade_time_format|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">最小购买金额：<span class="check-tips"><if condition="$fund['min_amount'] neq 0">{$fund.min_amount}<else />无限制</if></span></label>
        </div>
        <div class="form-item">
            <label class="item-label">最小购买份数：<span class="check-tips">{$fund.min_count|default='0'}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">最大投资金额：<span class="check-tips"><if condition="$fund['max_amount'] neq 0">{$fund.max_amount}<else />无限制</if></span></label>
        </div>
        <div class="form-item">
            <label class="item-label">最大购买份数：<span class="check-tips">{$fund.max_count|default='0'}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">每份金额：<span class="check-tips">{$fund.unit_price|default='0'}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">开放期申购起始日：<span class="check-tips">{:date('Y-m-d H:i:s', $fund['open_start_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">开放期赎回起始日：<span class="check-tips">{:date('Y-m-d H:i:s', $fund['open_back_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">开放期赎回截止日：<span class="check-tips">{:date('Y-m-d H:i:s', $fund['open_end_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金封闭期限：<span class="check-tips">{$fund.std_time_text}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金预期收益率：<span class="check-tips">{$fund.expected_rate|default=''}%</span></label>
        </div>
        
        <div class="form-item">
            <label class="item-label">总评论数：<span class="check-tips">{$fund.comment_count|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">　好评数：<span class="check-tips">{$fund.praise_count|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">　中评数：<span class="check-tips">{$fund.mid_count|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">　差评数：<span class="check-tips">{$fund.bad_count|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">购买人数：<span class="check-tips">{$fund.invest_count|default=''}</span></label>
        </div>
        
        <div class="form-item">
            <label class="item-label">创建时间：<span class="check-tips">{:date('Y-m-d H:i:s', $fund['create_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">更新时间：<span class="check-tips">{:date('Y-m-d H:i:s', $fund['update_time'])}</span></label>
        </div>
        <div class="form-item">
            <div class="item-label">状　　态：<span class="check-tips">{$fund.status_text}</span></div>
        </div>
        
        <div class="form-item">
            <div class="item-label">是否推荐：<span class="check-tips">{$fund.is_recommend_text}</span></div>
        </div>
        
        <if condition="$fund['is_recommend'] eq 2">
	        <div class="form-item">
	            <label class="item-label">推荐理由<span class="check-tips"></span></label>
	        	<div class="controls">
	                <div lass="div-desc" >{$fund.recommend_note|}</div>
	            </div>
	        </div>
        </if>
        
        <div class="form-item">
            <label class="item-label">预期收益率说明<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$fund.expected_rate_desc|default=''}</div>
            </div>
        </div>
        
        <div class="form-item">
            <label class="item-label">开放日说明<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$fund.open_desc|default=''}</div>
            </div>
        </div>
        
        <div class="form-item">
            <label class="item-label">封闭期说明<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$fund.close_desc|default=''}</div>
            </div>
        </div>
        
        <div class="form-item">
            <label class="item-label">基金产品描述<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$fund.fund_brief|default=''}</div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">基金净值<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >
                	<notempty name="netvalue">
                		<foreach name="netvalue" key="key" item="val">
                			<div>
                				<div>基金名称：{$val.fund_name}</div>
                				<div>基金净值：{$val.now_rose}</div>
                				<div>统计时间：{:date('Y-m-d H:i:m', $val['netvalue_time'])}</div>
                				<br/>
                			</div>
                		</foreach>
                	</notempty>
                </div>
            </div>
        </div>
        <div class="form-item">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Fund/fundList')}');
    </script>
</block>
